package k.user;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import web.ExHandler;

@SpringBootApplication
@MapperScan("k.user.mapper")
public class userApp {
    public static void main(String[] args) {
        SpringApplication.run(userApp.class, args);
    }
    @Bean
    public ExHandler exHandler(){
        return new ExHandler();
    }
}
